
<template>
  <div class="views-container">
    <el-tabs
      v-model="activeName"
    >
      <el-tab-pane
        :key="'first'"
        label="yarn资源任务"
        name="first"
      >
        <yarn v-if="activeName=='first'" />
      </el-tab-pane>
      <el-tab-pane
        :key="'second'"
        label="impala资源任务"
        name="second"
      >
        <impala v-if="activeName=='second'" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>

import yarn from './yarnResources.vue'
import impala from './impalaResources.vue'
export default {
  components: {
    yarn, impala
  },
  data() {
    return {
      activeName: 'first'
    }
  },
  created() {

  },
  methods: {
  }
}
</script>
